package com.ruoyi.hr.mapper.jobadmin;

import com.ruoyi.hr.domain.Authority;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface JobAdminMapper {

    List<Map<String,Object>> findJobList(@Param("map") Map map, @Param("authority") Authority authority);
    List<Map<String,Object>> findYxJob();
    int insertJob(Map map);
    Map<String,Object> findJobAdd(@Param("id") String id,@Param("urid") String urid);
    List<Map<String,Object>> findXsDep(String compId);
    int updateJobAdd(Map map);
    int delete(String id);
    String findTitleById(String id);
    List<Map<String, Object>> findEditJobList(@Param("map") Map map, @Param("authority") Authority authority);
    int updateJobEdit(Map map);
    int editDepInvalid(Map map);
    List<Map<String,Object>> findHistoryJobList(@Param("map") Map map, @Param("authority") Authority authority);
    List<Map<String,Object>> jobInfoList(@Param("map") Map map, @Param("authority") Authority authority);

}
